<template>
	<div></div>
</template>

<script setup lang="ts">
import { computed, defineExpose } from "vue";
import { getCurrentConfig } from "../../../utils/objutil";

let props = defineProps({
	id: {
		type: String,
		default: "",
	}
});

var config = computed(() => {
	return getCurrentConfig(props.id);
});

const placeHolder = computed(() => {
	return config?.value?.placeholder;
})

watch(() => placeHolder.value, (f) => { if (config.value) { config.value.props.value = f; } }, { deep: true })
</script>

<style scoped lang="less"></style>